/**
 * 注册组件js文件
 */
import Button from "./button";
import Input from "./input";
import AlertBox from "./alertBox";
const components = [Button, Input, AlertBox];
//vue.use使用时，必须要有install方法，参数就是vue。
const install = (Vue) => {
	for (var key in components) {
		Vue.component(components[key].name, components[key]);
	}
};
export default {
	install,
	Button,
	Input,
	AlertBox
};
